package xyz.chenyongpeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import xyz.chenyongpeng.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 门票价格体系表
 * </p>
 *
 * @author chenyongpeng
 * @since 2018-12-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="ZsGTicketsPrice对象", description="门票价格体系表")
public class ZsGTicketsPrice extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "门票价格体系表")
    @TableId(value = "gtp_id", type = IdType.AUTO)
    private Integer gtpId;

    @ApiModelProperty(value = "商品ID")
    private Integer goodsId;

    @ApiModelProperty(value = "价格类型 1成人票 2老人 3小孩")
    private Integer ticketType;

    @ApiModelProperty(value = "原价 单位分")
    private Integer price;

    @ApiModelProperty(value = "原价 单位分")
    private Integer oriPrice;

    @ApiModelProperty(value = "优惠金额")
    private Integer discountAmount;


}
